/*    */
package com.liang.manage.auth.facade.dto.user;
/*    */
/*    */

import java.io.Serializable;

/*    */
/*    */ public class UserTokenDTO
        /*    */ implements Serializable
        /*    */ {
    /*    */   private Long userId;
    /*    */   private String username;
    /*    */   private String token;
    /*    */   private static final long serialVersionUID = 1L;

    /*    */
    /*    */
    public Long getUserId()
    /*    */ {
        /* 16 */
        return this.userId;
        /*    */
    }

    /*    */
    /*    */
    public String getUsername() {
        /* 20 */
        return this.username;
        /*    */
    }

    /*    */
    /*    */
    public String getToken() {
        /* 24 */
        return this.token;
        /*    */
    }

    /*    */
    /*    */
    public void setUserId(Long userId)
    /*    */ {
        /* 11 */
        this.userId = userId;
    }

    /* 11 */
    public void setUsername(String username) {
        this.username = username;
    }

    /* 11 */
    public void setToken(String token) {
        this.token = token;
    }

    /* 11 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof UserTokenDTO)) return false;
        UserTokenDTO other = (UserTokenDTO) o;
        if (!other.canEqual(this)) return false;
        Object this$userId = getUserId();
        Object other$userId = other.getUserId();
        if (this$userId == null ? other$userId != null : !this$userId.equals(other$userId)) return false;
        Object this$username = getUsername();
        Object other$username = other.getUsername();
        if (this$username == null ? other$username != null : !this$username.equals(other$username)) return false;
        Object this$token = getToken();
        Object other$token = other.getToken();
        return this$token == null ? other$token == null : this$token.equals(other$token);
    }

    /* 11 */
    protected boolean canEqual(Object other) {
        return other instanceof UserTokenDTO;
    }

    /* 11 */
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $userId = getUserId();
        result = result * 59 + ($userId == null ? 43 : $userId.hashCode());
        Object $username = getUsername();
        result = result * 59 + ($username == null ? 43 : $username.hashCode());
        Object $token = getToken();
        result = result * 59 + ($token == null ? 43 : $token.hashCode());
        return result;
    }

    /* 11 */
    public String toString() {
        return "UserTokenDTO(userId=" + getUserId() + ", username=" + getUsername() + ", token=" + getToken() + ")";
    }
    /*    */
    /*    */
}

/* Location:           C:\maven\maven3.5\maven3.5\repositor\io\github\maliangnansheng\nansheng-common\3.3.4\nansheng-common-3.3.4.jar
 * Qualified Name:     com.liang.manage.auth.facade.dto.user.UserTokenDTO
 * JD-Core Version:    0.6.2
 */